package com.zch.book.entity;
/**
 * 用户信息
 * @author Administrator
 *
 */
public class User {
	private String name;
	private String pwd;
	private int role;
	
	public User(){}//无参的构造方法
	public User(String name,String pwd,int role){
		this.name = name;
		this.pwd = pwd;
		this.role = role;
	}
	
	public void setName(String name){
		this.name = name;
	}
	public String getName(){
		return this.name;
	}
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	public int getRole() {
		return role;
	}
	public void setRole(int role) {
		this.role = role;
	}
	
	
}
